// 导出所有 API 服务
export { api, apiClient } from './client'
export { sheetsApi } from './sheets'
export { authApi } from './auth'
export { sharedApi } from './shared'

// 导入用于默认导出
import { sheetsApi } from './sheets'
import { authApi } from './auth'
import { sharedApi } from './shared'

// 导出类型
export type { ApiResponse } from './client'
export type { LoginCredentials, RegisterCredentials, AuthResult } from './auth'
export type { SharedSheetData } from './shared'

// 默认导出主要的 API 服务
export default {
  sheets: sheetsApi,
  auth: authApi,
  shared: sharedApi,
}
